package org.ftc.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 案別
 * @author Creasy Ho
 *
 */
@Entity
@Table(name = "CODE_TYPE")
//@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class CodeType implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5114750499978546569L;

	@Id 
	@Column(name = "CODE", length = 2 )
	private String code;
	
	//問題名稱
	@Column(name = "NAME" , length = 50 )
	private String name;
	
	@Column(name = "SORT") 
	private Integer sort;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	
	
}
